Platform Explorer / Nuxeo Platform 5.8

Contribution studio.extensions.nuxeo-jenkins-report--contentViews

This contribution is part of XML component studio.extensions.nuxeo-jenkins-report inside nuxeo-jenkins-report-3.2.0.jar

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="JenkinsReports">
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <pattern>SELECT * FROM Document WHERE (ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND ecm:parentId=?)</pattern>
            <parameter>#{currentDocument.id}</parameter>
            <sort ascending="false" column="jenkinsreport:report_date"/>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>
          <useGlobalPageSize>true</useGlobalPageSize>
          <refresh>
            <event>documentChanged</event>
            <event>documentChildrenChanged</event>
          </refresh>
          <cacheKey>#{currentDocument.id}</cacheKey>
          <cacheSize>10</cacheSize>
          <selectionList>CURRENT_SELECTION</selectionList>
          <showTitle>false</showTitle>
          <showFilterForm>true</showFilterForm>
          <showPageSizeSelector>true</showPageSizeSelector>
          <showRefreshCommand>true</showRefreshCommand>
          <actions category="CURRENT_SELECTION_LIST"/>
          <actions category="cv_actions@JenkinsReports"/>
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="JenkinsReports@cvListingLayout" showCSVExport="true" title="document_listing" translateTitle="true"/>
          </resultLayouts>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">
    <contentView name="JenkinsReports">
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <pattern>SELECT * FROM Document WHERE (ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND ecm:parentId=?)</pattern>
        <parameter>#{currentDocument.id}</parameter>
        <sort ascending="false" column="jenkinsreport:report_date"/>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{currentDocument.id}</cacheKey>
      <cacheSize>10</cacheSize>
      <selectionList>CURRENT_SELECTION</selectionList>
      <showTitle>false</showTitle>
      <showFilterForm>true</showFilterForm>
      <showPageSizeSelector>true</showPageSizeSelector>
      <showRefreshCommand>true</showRefreshCommand>
      <actions category="CURRENT_SELECTION_LIST"/>
      <actions category="cv_actions@JenkinsReports"/>
      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="JenkinsReports@cvListingLayout" showCSVExport="true" title="document_listing" translateTitle="true"/>
      </resultLayouts>
    </contentView>
  </extension>